package cn.gz.ibix.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import cn.gz.ibix.R;
import cn.gz.ibix.bean.FoodType;

/**
 * 项目名称：QiYiChuAPP
 * <br>类描述：
 * <br>创建人：htliu
 * <br>创建时间：2018/3/24 19:18
 * <br>修改人:
 * <br>修改时间：2018/3/24 19:18
 * <br>修改备注：
 * <br>@version
 */

public class FoodTypeAdapter extends BaseQuickAdapter<FoodType, BaseViewHolder> {

    public FoodTypeAdapter() {
        super(R.layout.item_food);
    }

    @Override
    protected void convert(BaseViewHolder helper, FoodType item) {
        helper.setText(R.id.name, item.getName());
    }

}
